[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FIELDLEN
Function
Set the display field length flag in an INPUTSTR or PROMPTSTR statement.
Value
2 = 10b = 2o = 2h
Remarks
The INPUTSTR and PROMPTSTR statements have the ability to display
the length of an input field using "()" if the user has ANSI
available. If you want to ensure that the user knows how wide the
input area is regardless of ANSI support being available, also use
the GUIDE constant.
Example
STRING pwd
INPUTSTR "Enter id number",pwd,@X0E,4,"0123456789",FIELDLEN+GUIDE
IF (pwd <> "1234") PRINTLN "Bad id number"
See Also:
GUIDE
INPUTSTR
PROMPTSTR
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson